#pragma once
#include <string>
namespace hwdrv {
class LanPort
{
public:
    LanPort(void* cfg, std::string net_str);

    inline std::string get_name() const { return dev_name_; }
    inline std::string get_adapter() const { return adapter_; }
    inline bool is_fixed() const { return is_fixed_; }

private:
    int index_;
    std::string dev_name_;
    std::string adapter_;
    bool is_fixed_;

    friend class HwMgr;
};
}  // namespace hwdrv
